class_name Telepoint extends Interactable
# 传送器
@export_file("*.tscn") var path:String
@export var direction = Player.Direction.LEFT
@export var entry_point:Vector2 = Vector2.ZERO

func interact()->void:
	super()
	Game.change_scene(path, entry_point, direction)
